package vip.liux.contracts.shared.enums.product;

import vip.liux.core.enums.IEnum;

public enum CategoryType implements IEnum {
    // 0:实物类,1:虚拟类
    PHYSICAL(0, "实物类"),
    VIRTUAL(1, "虚拟类");

    final int value;
    final String desc;

    CategoryType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }

}
